//
//  FoundFirstTimedoc.m
//  __PRODUCTNAME__
//
//  Created by dllo on 16/08/31
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "FoundFirstTimedoc.h"
#import "FoundFirstToday.h"
#import "FoundFirstSunday.h"
#import "FoundFirstWeekend.h"
#import "FoundFirstSaturday.h"
#import "FoundFirstTomorrow.h"
#import "FoundFirstLastmonth.h"
@implementation FoundFirstTimedoc
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"Today"]) {
        self.Today = [FoundFirstToday modelWithDic:value];
    } else if ([key isEqualToString:@"Tomorrow"]) {
        self.Tomorrow = [FoundFirstTomorrow modelWithDic:value];
    } else if ([key isEqualToString:@"Saturday"]) {
        self.Saturday = [FoundFirstSaturday modelWithDic:value];
    } else if ([key isEqualToString:@"Sunday"]) {
        self.Sunday = [FoundFirstSunday modelWithDic:value];
    } else if ([key isEqualToString:@"Weekend"]) {
        self.Weekend = [FoundFirstWeekend modelWithDic:value];
    } else if ([key isEqualToString:@"LastMonth"]) {
        self.LastMonth = [FoundFirstLastmonth modelWithDic:value];
    }
}
@end
